package models

import "tuowei.com/common/models"

type SysRegion struct {
	models.Model
	ParentId int    `json:"parent_id"`
	Name     string `json:"name"`
	Level    int    `json:"level"`
}

func (p SysRegion) TableName() string {
	return "sys_region"
}

type SysRegionList struct {
	Id int `json:"id"`
	Name string `json:"name"`
}


func (p SysRegionList) TableName() string {
	return "sys_region"
}
